.Net Framework > v2.0.50727 > System > IO > StreamWriter > StreamWriter StreamWriter(Stream)
StreamWriter(Stream,Encoding)
StreamWriter(Stream,Encoding,Int32)
StreamWriter(String)
StreamWriter(String,Boolean)
StreamWriter(String,Boolean,Encoding)
StreamWriter(String,Boolean,Encoding,Int32)


StreamWriter(Stream)

Category
Constructor
Description
Initializes a new instance of the System.IO.StreamWriter class for the specified stream, using UTF-8 encoding and the default buffer size.
Type
void
Character
public
Parameters
NameTypeDescription
streamStream
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

StreamWriter(Stream,Encoding)

Category
Constructor
Description
Initializes a new instance of the System.IO.StreamWriter class for the specified stream, using the specified encoding and the default buffer size.
Type
void
Character
public
Parameters
NameTypeDescription
streamStream
encodingEncoding
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

StreamWriter(Stream,Encoding,Int32)

Category
Constructor
Description
Initializes a new instance of the System.IO.StreamWriter class for the specified stream, using the specified encoding and buffer size.
Type
void
Character
public
Parameters
NameTypeDescription
streamStream
encodingEncoding
bufferSizeInt32
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

StreamWriter(String)

Category
Constructor
Description
Initializes a new instance of the System.IO.StreamWriter class for the specified file on the specified path, using the default encoding and buffer size.
Type
void
Character
public
Parameters
NameTypeDescription
pathString
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

StreamWriter(String,Boolean)

Category
Constructor
Description
Initializes a new instance of the System.IO.StreamWriter class for the specified file on the specified path, using the default encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
Type
void
Character
public
Parameters
NameTypeDescription
pathString
appendBoolean
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

StreamWriter(String,Boolean,Encoding)

Category
Constructor
Description
Initializes a new instance of the System.IO.StreamWriter class for the specified file on the specified path, using the specified encoding and default buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
Type
void
Character
public
Parameters
NameTypeDescription
pathString
appendBoolean
encodingEncoding
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

StreamWriter(String,Boolean,Encoding,Int32)

Category
Constructor
Description
Initializes a new instance of the System.IO.StreamWriter class for the specified file on the specified path, using the specified encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.
Type
void
Character
public
Parameters
NameTypeDescription
pathString
appendBoolean
encodingEncoding
bufferSizeInt32
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database